﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="_Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<!--top-->
<div id="top">
	<img src="images/logo.png" width="130" height="60" id="logo" alt="" class="left"/>
    <ul class="right" style="padding-right:80px; padding-top:5px">
    	<li class="left">
            <img src="images/list1.png" width="78" height="78" alt="" /><br /><br />
            <span class="size"><a href="#">客户端</a></span>
        </li>
        <li class="left">
            <img src="images/list2.png" width="78" height="78" alt="" /><br /><br />
            <span class="size"><a href="#">收藏</a></span>
        </li>
        <li class="left">
            <img src="images/list3.png" width="78" height="78" alt="" /><br /><br />
            <span class="size"><a href="#">帮助</a></span>
        </li>
        <li class="left">
            <img src="images/list4.png" width="78" height="78" alt="" /><br /><br />
            <span class="size"><a href="#">关于我们</a></span>
        </li>
    </ul>
    <div class="clr"></div>
</div>
<!--content-->
<div id="content">
	<div id="content_l" class="left">
    	<div id="content_l_top" class="left"></div>
    	<ul>
    	    <%=rankList %>
    	    <!--
        	<li><a href="#">window98</a><strong style="float:right;margin-right:30px;">&gt;</strong></li>
        	-->
        </ul>
        
        <div class="clr"></div>  
    </div>
	<div id="content_r" class="left">
    	<div id="content_r_t">
            <!--<input type="button" value="最新" class="active btn"/>
            <input type="button" value="最热" class="btn"/>
            <input type="button"  value="必备" class="btn"/>-->
        
        </div>
      <div style="display:block; width:660px;">
            <!--<div class="left icon">
            	<img src="images/icon.png" width="100" height="91" alt=""/> 
            	<div class="size2">window98</div>
            </div>
             <div class="left icon">
            	<img src="images/icon.png" width="100" height="91"  alt=""/> 
           	  <div class="size2">window98</div>
            </div>
             <div class="left icon">
            	<img src="images/icon.png" width="100" height="91"  alt=""/> 
            	<div class="size2">window98</div>
            </div>
            <div class="left icon">
            	<img src="images/icon.png" width="100" height="91"  alt=""/> 
            	<div class="size2">window98</div>
            </div>  -->
            <%=latestList %>
            <div class="clr"></div>  
       </div>
       <div style="background: #0F0"></div>
    </div>
    <div class="clr"></div>
</div>
<div id="foot">关于我们|网站使用与帮助|网站导航|最新消息|业务合作<br />  
版权所有 ©2015 杭州科技职业技术学院
</div>
</div>
<form id="Form1" runat="server">
    <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/db_soft.mdb" SelectCommand="SELECT [id], [soft_name], [down_url] FROM [soft] ORDER BY count DESC"></asp:AccessDataSource>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
        DataSourceID="AccessDataSource1" Visible="False">
        <Columns>
            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                SortExpression="id" />
            <asp:BoundField DataField="soft_name" HeaderText="soft_name" SortExpression="soft_name" />
            <asp:BoundField DataField="down_url" HeaderText="down_url" SortExpression="down_url" />
        </Columns>
    </asp:GridView>
    <asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/App_Data/db_soft.mdb" SelectCommand="SELECT [img], [down_url], [soft_name], [id], [add_date] FROM [soft] order by [add_date] desc"></asp:AccessDataSource>
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="AccessDataSource2" Visible="False">
        <Columns>
            <asp:BoundField DataField="img" HeaderText="img" SortExpression="img" />
            <asp:BoundField DataField="down_url" HeaderText="down_url" SortExpression="down_url" />
            <asp:BoundField DataField="soft_name" HeaderText="soft_name" SortExpression="soft_name" />
            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                SortExpression="id" />
            <asp:BoundField DataField="add_date" HeaderText="add_date" SortExpression="add_date" />
        </Columns>
    </asp:GridView>
</form>
</body>
</html>
